<?php /* Smarty version 2.6.18, created on 2012-01-28 15:30:43
         compiled from index/box-search.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'index/box-search.tpl', 18, false),)), $this); ?>
<?php echo '
	<script type="text/javascript" language="javascript">
		$(document).ready(function() {
    		$(\'.boxSearch select\').customSelect();
		});
    </script>
'; ?>

<div class="boxSearch rFloat">
	<div class="headerTitle">
    	<h3 class="clearIt">Tìm bạn bốn phương</h3>
   	</div>
    <div class="searchItem">
    	<form method="post" id="frmSearch" name="frmSearch" action="<?php echo @LINK_MEMBER_SEARCH; ?>
" enctype="multipart/form-data">
        	<div class="userInput">
            	<label for="psearch_gender">Tôi là:</label>
                <select id="psearch_gender" name="psearch_gender" class="third">
                    <option value="0">Chọn</option>
                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrGender']), $this);?>

                </select>
            	<label for="psearch_look_gender" class="half">Tìm bạn:</label>
                <select id="psearch_look_gender" name="psearch_look_gender" class="third">
                    <option value="0">Tất cả</option>
                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrGender']), $this);?>

                </select>
            </div>
            <div class="userInput">
            	<label for="psearch_age_from">Độ tuổi:</label>
                <select id="psearch_age_from" name="psearch_age_from" class="half">
                    <option value="0">Tất cả</option>
                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrAge']), $this);?>

                </select>
                <select id="psearch_age_to" name="psearch_age_to" class="half">
                    <option value="0">Tất cả</option>
                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrAge']), $this);?>

                </select>
            </div>  
            <div class="userInput">
            	<label for="psearch_province">Tỉnh/thành:</label>
                <select id="psearch_province" name="psearch_province">
                    <option value="0">Tất cả</option>
                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrProvince']), $this);?>

                </select>
            </div>  
            <div class="userInput">
            	<label for="psearch_occupation">Nghề nghiệp:</label>
                <select id="psearch_occupation" name="psearch_occupation">
                    <option value="0">Tất cả</option>
                    <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['arrOccupation']), $this);?>

                </select>
            </div>   
            <div class="userInput">
            	<input type="image" src="<?php echo @HOST_STATICS; ?>
img/btn/home-search.png" class="btn" />				
            </div>
        </form>
    </div>
</div>